package com.chuangshixinchen.enterprise.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chuangshixinchen.enterprise.common.Result;
import com.chuangshixinchen.enterprise.entity.Tb_staff;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chuangshixinchen.enterprise.vo.req.StaffReqPageVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-08-16
 */
public interface ITb_staffService extends IService<Tb_staff> {

    Result<Page<Tb_staff>> listPage(StaffReqPageVo vo);

    Result<Tb_staff> getInfo(Long id);

    Result saveInfo(Tb_staff staff);

    Result updateInfo(Tb_staff staff);

    Result removeInfo(String ids);
}
